\hypertarget{class_q_qt_server_message}{}\section{Q\+Qt\+Server\+Message Class Reference}
\label{class_q_qt_server_message}\index{Q\+Qt\+Server\+Message@{Q\+Qt\+Server\+Message}}


The \mbox{\hyperlink{class_q_qt_server_message}{Q\+Qt\+Server\+Message}} class 这是协议使用的报文，报文的接收和发送格式不一样。  




{\ttfamily \#include $<$qqtserverprotocolmanager.\+h$>$}

Inheritance diagram for Q\+Qt\+Server\+Message\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_q_qt_server_message}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_qt_server_message_a78236646d0049e6637e6ff9b2b47a9d2}\label{class_q_qt_server_message_a78236646d0049e6637e6ff9b2b47a9d2}} 
{\bfseries Q\+Qt\+Server\+Message} (Q\+Object $\ast$parent=0)
\item 
\mbox{\Hypertarget{class_q_qt_server_message_a880c90eacc385fafcc48a475b706962b}\label{class_q_qt_server_message_a880c90eacc385fafcc48a475b706962b}} 
quint16 \& {\bfseries get\+A\+Size} ()
\item 
\mbox{\Hypertarget{class_q_qt_server_message_a3dd32f97778e592d2f21de66710af622}\label{class_q_qt_server_message_a3dd32f97778e592d2f21de66710af622}} 
const quint16 \& {\bfseries get\+A\+Size} () const
\item 
\mbox{\Hypertarget{class_q_qt_server_message_a7818a2627c26008facbf2f064b9881ad}\label{class_q_qt_server_message_a7818a2627c26008facbf2f064b9881ad}} 
quint8 \& {\bfseries get\+A\+Cmd} ()
\item 
\mbox{\Hypertarget{class_q_qt_server_message_af1ac0c0a9cae8a381f9a68d7bfb2cf55}\label{class_q_qt_server_message_af1ac0c0a9cae8a381f9a68d7bfb2cf55}} 
const quint8 \& {\bfseries get\+A\+Cmd} () const
\item 
\mbox{\Hypertarget{class_q_qt_server_message_a48f9dfb5eb732e346e6f256d7ec2b1a8}\label{class_q_qt_server_message_a48f9dfb5eb732e346e6f256d7ec2b1a8}} 
Q\+Byte\+Array \& {\bfseries get\+A\+Data} ()
\item 
\mbox{\Hypertarget{class_q_qt_server_message_a0ea46a3fbb3050df8e1b0da7a71a67fc}\label{class_q_qt_server_message_a0ea46a3fbb3050df8e1b0da7a71a67fc}} 
const Q\+Byte\+Array \& {\bfseries get\+A\+Data} () const
\item 
\mbox{\Hypertarget{class_q_qt_server_message_a2c21f1f2ba9385c359b1e530d87bc677}\label{class_q_qt_server_message_a2c21f1f2ba9385c359b1e530d87bc677}} 
quint16 \& {\bfseries get\+B\+Size} ()
\item 
\mbox{\Hypertarget{class_q_qt_server_message_a8b272dcb011b079e035720ecce392eb5}\label{class_q_qt_server_message_a8b272dcb011b079e035720ecce392eb5}} 
const quint16 \& {\bfseries get\+B\+Size} () const
\item 
\mbox{\Hypertarget{class_q_qt_server_message_a89ec78ff372dc72dd11df0d00fed28da}\label{class_q_qt_server_message_a89ec78ff372dc72dd11df0d00fed28da}} 
quint8 \& {\bfseries get\+B\+Cmd} ()
\item 
\mbox{\Hypertarget{class_q_qt_server_message_a89aa5428122407e19cb39a132fca6863}\label{class_q_qt_server_message_a89aa5428122407e19cb39a132fca6863}} 
const quint8 \& {\bfseries get\+B\+Cmd} () const
\item 
\mbox{\Hypertarget{class_q_qt_server_message_ac64679c515a152b1fdf3d9d19dfa4e75}\label{class_q_qt_server_message_ac64679c515a152b1fdf3d9d19dfa4e75}} 
Q\+Byte\+Array \& {\bfseries get\+B\+Data} ()
\item 
\mbox{\Hypertarget{class_q_qt_server_message_ae5602c6036cae79c2f84f7d33c162f78}\label{class_q_qt_server_message_ae5602c6036cae79c2f84f7d33c162f78}} 
const Q\+Byte\+Array \& {\bfseries get\+B\+Data} () const
\item 
\mbox{\Hypertarget{class_q_qt_server_message_acbf4ba197e1840e35013fecbdc4ae614}\label{class_q_qt_server_message_acbf4ba197e1840e35013fecbdc4ae614}} 
void {\bfseries translate} ()
\item 
virtual void \mbox{\hyperlink{class_q_qt_server_message_a4f1ed5558eab8c286d61bfc224b0b7a7}{parser}} (const Q\+Byte\+Array \&l0) override
\begin{DoxyCompactList}\small\item\em 从流中解析报文 这个函数会更改局部变量 \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_q_qt_server_message_a34603726fc449dbb5cd8d8a2fd891160}{packer}} (Q\+Byte\+Array \&l) const override
\begin{DoxyCompactList}\small\item\em 将报文组装为流 这个函数不会更改局部变量 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
The \mbox{\hyperlink{class_q_qt_server_message}{Q\+Qt\+Server\+Message}} class 这是协议使用的报文，报文的接收和发送格式不一样。 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_qt_server_message_a34603726fc449dbb5cd8d8a2fd891160}\label{class_q_qt_server_message_a34603726fc449dbb5cd8d8a2fd891160}} 
\index{Q\+Qt\+Server\+Message@{Q\+Qt\+Server\+Message}!packer@{packer}}
\index{packer@{packer}!Q\+Qt\+Server\+Message@{Q\+Qt\+Server\+Message}}
\subsubsection{\texorpdfstring{packer()}{packer()}}
{\footnotesize\ttfamily virtual void Q\+Qt\+Server\+Message\+::packer (\begin{DoxyParamCaption}\item[{Q\+Byte\+Array \&}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



将报文组装为流 这个函数不会更改局部变量 


\begin{DoxyParams}{Parameters}
{\em l} & \\
\hline
{\em m} & \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_q_qt_message_af1885c2c3628495808dca66ee8d72e14}{Q\+Qt\+Message}}.

\mbox{\Hypertarget{class_q_qt_server_message_a4f1ed5558eab8c286d61bfc224b0b7a7}\label{class_q_qt_server_message_a4f1ed5558eab8c286d61bfc224b0b7a7}} 
\index{Q\+Qt\+Server\+Message@{Q\+Qt\+Server\+Message}!parser@{parser}}
\index{parser@{parser}!Q\+Qt\+Server\+Message@{Q\+Qt\+Server\+Message}}
\subsubsection{\texorpdfstring{parser()}{parser()}}
{\footnotesize\ttfamily virtual void Q\+Qt\+Server\+Message\+::parser (\begin{DoxyParamCaption}\item[{const Q\+Byte\+Array \&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



从流中解析报文 这个函数会更改局部变量 


\begin{DoxyParams}{Parameters}
{\em m} & \\
\hline
{\em l} & \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_q_qt_message_a0bc25669bdd61490b1d8df6d77565f31}{Q\+Qt\+Message}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/examples/qqtserverexample/qqtserverprotocolmanager.\+h\end{DoxyCompactItemize}
